package com.stylefeng.guns.modular.system.model;

import java.io.Serializable;

import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author junz123
 * @since 2018-04-18
 */
@TableName("bus_banner")
public class Banner extends Model<Banner> {

    private static final long serialVersionUID = 1L;

    /**
     * 记录编号
     */
    @TableId(value="ID", type= IdType.UUID)
    private String id;
    /**
     * BANNER标签名称
     */
    @TableField("BANNER_LABEL")
    private String bannerLabel;
    /**
     * banner图片
     */
    @TableField("BANNER_IMG_FILENAME")
    private String bannerImgFilename;
    @TableField(exist = false)
    private String bannerImgFilePath;
    /**
     * banner跳转Url
     */
    @TableField("BANNER_URL")
    private String bannerUrl;
    /**
     * 排序编号
     */
    @TableField("BANNER_SEQ")
    private Integer bannerSeq;
    /**
     * 状态
     */
    @TableField("STATUS")
    private Integer status;
    @TableField("CREATETIME")
    private Date createtime;
    @TableField("VERSION")
    private Integer version;
    /**
     * 维护人
     */
    @TableField("MAINTAINER")
    private String maintainer;
    @TableField("DEL_FLAG")
    private Integer delFlag;
    /**
     * 企业编号
     */
    @TableField("COM_ID")
    private String comId;
    @TableField(exist = false)
    private String comName;
    /**
     * 产品名称
     */
    @TableField("PRD_ID")
    private String prdId;
    @TableField(exist = false)
    private String prdName;

    public String getComId() {
        return comId;
    }

    public void setComId(String comId) {
        this.comId = comId;
    }

    public String getComName() {
        return comName;
    }

    public void setComName(String comName) {
        this.comName = comName;
    }

    public String getPrdId() {
        return prdId;
    }

    public void setPrdId(String prdId) {
        this.prdId = prdId;
    }

    public String getPrdName() {
        return prdName;
    }

    public void setPrdName(String prdName) {
        this.prdName = prdName;
    }

    public String getBannerImgFilePath() {
        return bannerImgFilePath;
    }

    public void setBannerImgFilePath(String bannerImgFilePath) {
        this.bannerImgFilePath = bannerImgFilePath;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getBannerLabel() {
        return bannerLabel;
    }

    public void setBannerLabel(String bannerLabel) {
        this.bannerLabel = bannerLabel;
    }

    public String getBannerImgFilename() {
        return bannerImgFilename;
    }

    public void setBannerImgFilename(String bannerImgFilename) {
        this.bannerImgFilename = bannerImgFilename;
    }

    public String getBannerUrl() {
        return bannerUrl;
    }

    public void setBannerUrl(String bannerUrl) {
        this.bannerUrl = bannerUrl;
    }

    public Integer getBannerSeq() {
        return bannerSeq;
    }

    public void setBannerSeq(Integer bannerSeq) {
        this.bannerSeq = bannerSeq;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public Integer getVersion() {
        return version;
    }

    public void setVersion(Integer version) {
        this.version = version;
    }

    public String getMaintainer() {
        return maintainer;
    }

    public void setMaintainer(String maintainer) {
        this.maintainer = maintainer;
    }

    public Integer getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(Integer delFlag) {
        this.delFlag = delFlag;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "Banner{" +
        "id=" + id +
        ", bannerLabel=" + bannerLabel +
        ", bannerImgFilename=" + bannerImgFilename +
        ", bannerUrl=" + bannerUrl +
        ", bannerSeq=" + bannerSeq +
        ", status=" + status +
        ", createtime=" + createtime +
        ", version=" + version +
        ", maintainer=" + maintainer +
        ", delFlag=" + delFlag +
        "}";
    }
}
